<style>
.fe-floatright-bottom .icon {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 100%;
    color: #fff;
    line-height: 1.6rem;
}
</style>
<div class="fui-page fui-page-current" ng-if="pagedata.op=='list'">
	<div class="fui-content">
	<div class="jy-content">
		<div class="fui-cell-group fui-comment-group" ng-repeat="item in pagedata.list">	
				<div class="fui-cell" href="javascript:;" ng-click="access_json('jy_agentmcp/mychat/detail/chatid='+item.id)">
					<div class="fui-cell-text">
						<div class="text bold" style="font-size:0.65rem;color:#5c5c5c">{{item.askmsg || '标题'}}</div>
						<div class="text" style="font-size:0.65rem">对话数量:{{item.msgnum || '对话数量'}}</div>
						<div class="gray" style="font-size:0.55rem">{{item.createtime}}</div>
					</div>
					<div class="fui-cell-remark">
					</div>
				</div>
				<div ng-if="!pagedata.loading && (!pagedata.list || pagedata.list.length<1)" class='content-empty' style="margin-top:0">
					<i class='icon icon-cry' style="font-size:1.5rem"></i><br/>暂时没有任何信息
				</div>
		</div>
		<div ng-show="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
	</div>
</div>
<div class='fui-page fui-page-current article-index-page' ng-if="pagedata.op=='detail'">
	<div class="topbg" style="background:#fff;position: fixed;padding: 0.5rem;width: 100%;top: 0;z-index: 108;">
		<div class="fui-cellone" style="padding:0.4rem 0">
		<div class="fui-cellone-info bold" style="">{{pagedata.item.askmsg}}</div>
		<div class="fui-cellone-remark" style="width:auto" href="javascript:;" ng-click="access_json('/mychat/')">列表</div>
		</div>
	</div>
	<div class="fui-content" style="padding-top:2rem;">
	<div ng-include="sys_html('_chatbox')"></div>
	</div>
</div>
<div class="fe-floatright-bottom" style="bottom:1rem">
	<div class="icon" style="border-radius: 100%;background-color: {{main.syscolor || '#63BE72'}};width:" href="javascript:;" ng-click="access_json('jy_agentmcp/home/')">
		<i class="icon icon-wo1" style="color:#fff;font-size:1.1rem;"></i>
	</div>
</div>
<script>
if(scope.pagedata.op!='detail'){
	scope.tool.get_list('jy_agentmcp/mychat/list/',true);
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_agentmcp/mychat/list/');
	}
}else{
	
}
</script>